package com.dianping.cat.core.config;

import java.util.Date;
import org.unidal.dal.jdbc.DataObject;











public class BusinessConfig
  extends DataObject
{
  private int m_id;
  private String m_name;
  private String m_domain;
  private String m_content;
  private Date m_updatetime;
  private int m_keyId;

  public void afterLoad() {
/*  27 */     this.m_keyId = this.m_id;
/*  28 */     clearUsage();
  }


  public String getContent() { return this.m_content; }



  public String getDomain() { return this.m_domain; }



/*  40 */   public int getId() { return this.m_id; }



/*  44 */   public int getKeyId() { return this.m_keyId; }



/*  48 */   public String getName() { return this.m_name; }



/*  52 */   public Date getUpdatetime() { return this.m_updatetime; }


  public BusinessConfig setContent(String content) {
/*  56 */     setFieldUsed(BusinessConfigEntity.CONTENT, true);
/*  57 */     this.m_content = content;
/*  58 */     return this;
  }

  public BusinessConfig setDomain(String domain) {
/*  62 */     setFieldUsed(BusinessConfigEntity.DOMAIN, true);
/*  63 */     this.m_domain = domain;
/*  64 */     return this;
  }

  public BusinessConfig setId(int id) {
/*  68 */     setFieldUsed(BusinessConfigEntity.ID, true);
/*  69 */     this.m_id = id;

/*  71 */     setFieldUsed(BusinessConfigEntity.KEY_ID, true);
/*  72 */     this.m_keyId = id;
/*  73 */     return this;
  }

  public BusinessConfig setKeyId(int keyId) {
/*  77 */     setFieldUsed(BusinessConfigEntity.KEY_ID, true);
    this.m_keyId = keyId;
/*  79 */     return this;
  }

  public BusinessConfig setName(String name) {
/*  83 */     setFieldUsed(BusinessConfigEntity.NAME, true);
/*  84 */     this.m_name = name;
/*  85 */     return this;
  }

  public BusinessConfig setUpdatetime(Date updatetime) {
/*  89 */     setFieldUsed(BusinessConfigEntity.UPDATETIME, true);
/*  90 */     this.m_updatetime = updatetime;
/*  91 */     return this;
  }


  public String toString() {
/*  96 */     StringBuilder sb = new StringBuilder(1024);

/*  98 */     sb.append("BusinessConfig[");
/*  99 */     sb.append("content: ").append(this.m_content);
/* 100 */     sb.append(", domain: ").append(this.m_domain);
/* 101 */     sb.append(", id: ").append(this.m_id);
/* 102 */     sb.append(", key-id: ").append(this.m_keyId);
/* 103 */     sb.append(", name: ").append(this.m_name);
/* 104 */     sb.append(", updatetime: ").append(this.m_updatetime);
/* 105 */     sb.append("]");
/* 106 */     return sb.toString();
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-core-3.0.0.jar!/com/dianping/cat/core/config/BusinessConfig.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */